package com.ruoyi.teaching.dto;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;
import java.util.Date;

@Data
@NoArgsConstructor
@AllArgsConstructor
public class ParameterIdDto {
   @NotBlank(message = "student不能为空")
   private String student;
   @NotBlank(message = "taskTime不能为空")
   private Date taskTime;
   @NotBlank(message = "taskType不能为空")
   private String taskType;
   @NotBlank(message = "remark不能为空")
   private String remark;
   @NotNull(message = "id不能为空")
   private Long id;
   @NotNull(message = "mytaskId不能为空")
   private Long mytaskId;
   @NotNull(message = "teacherId不能为空")
   private Long teacherId;

}
